home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / sjm386-1 / texture.def < prev    next >
Text File  |  1994-04-28  |  1KB  |  53 lines

  1. # texture mapped cube with my mug on the sides
  2.  
  3. eye { 0.0, 0.0, 4.0 }
  4. light { 0.0, 0.0, 4.0 }
  5.  
  6. object cube {
  7.   center { 0.0, 0.0, -6.0 }
  8.   rotate { 2, 0, 2 }
  9.   surface front {
  10.     style textured steve.gif
  11.     vertex { -1.0, 1.0, 1.0 }
  12.     vertex { -1.0, -1.0, 1.0 }
  13.     vertex { 1.0, -1.0, 1.0 }
  14.     vertex { 1.0, 1.0, 1.0 }
  15.   }
  16.   surface right {
  17.     style textured steve.gif
  18.     vertex { 1.0, 1.0, 1.0 }
  19.     vertex { 1.0, -1.0, 1.0 }
  20.     vertex { 1.0, -1.0, -1.0 }
  21.     vertex { 1.0, 1.0, -1.0 }
  22.   }
  23.   surface back {
  24.     style textured steve.gif
  25.     vertex { 1.0, 1.0, -1.0 }
  26.     vertex { 1.0, -1.0, -1.0 }
  27.     vertex { -1.0, -1.0, -1.0 }
  28.     vertex { -1.0, 1.0, -1.0 }
  29.   }
  30.   surface left {
  31.     style textured steve.gif
  32.     vertex { -1.0, 1.0, -1.0 }
  33.     vertex { -1.0, -1.0, -1.0 }
  34.     vertex { -1.0, -1.0, 1.0 }
  35.     vertex { -1.0, 1.0, 1.0 }
  36.   }
  37.   surface top {
  38.     style textured steve.gif
  39.     vertex { -1.0, 1.0, -1.0 }
  40.     vertex { -1.0, 1.0, 1.0 }
  41.     vertex { 1.0, 1.0, 1.0 }
  42.     vertex { 1.0, 1.0, -1.0 }
  43.   }
  44.   surface bottom {
  45.     style textured steve.gif
  46.     vertex { -1.0, -1.0, 1.0 }
  47.     vertex { -1.0, -1.0, -1.0 }
  48.     vertex { 1.0, -1.0, -1.0 }
  49.     vertex { 1.0, -1.0, 1.0 }
  50.   }
  51. }
  52.  
  53.